<template>
    <div>
        <div id="top">
            <van-tabs type="card">
                <van-tab title="积分">积分</van-tab>
                <van-tab title="余额">余额</van-tab>
            </van-tabs>
        </div>
        <div >
            <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
                <van-swipe-item>1</van-swipe-item>
                <van-swipe-item>2</van-swipe-item>
                <van-swipe-item>3</van-swipe-item>
                <van-swipe-item>4</van-swipe-item>
            </van-swipe>
        </div>
        <div>
            <van-grid>
                <van-grid-item icon="photo-o" text="文字"/>
                <van-grid-item icon="photo-o" text="文字"/>
                <van-grid-item icon="photo-o" text="文字"/>
                <van-grid-item icon="photo-o" text="文字"/>
            </van-grid>
        </div>
    </div>
</template>

<script>

    export default {
        name: 'wallet',
        data() {
            return {

            };
        },
    };
</script>

<style>
    #top{
        margin-top: 30px;
    }
    .my-swipe .van-swipe-item {
        color: #fff;
        font-size: 20px;
        line-height: 150px;
        text-align: center;
        background-color: #39a9ed;
    }
</style>